# EchokitBot micro-ROS Voice Control Package

# Coze Integration modules
from .coze_openapi_client import (
    CozeOpenAPIClient,
    CozeAPIConfig,
    ChatResponse,
    CozeAPIError,
    CozeAuthenticationError,
    CozeRateLimitError,
    CozeNetworkError
)

from .coze_websocket_client import (
    CozeWebSocketClient,
    WebSocketConfig,
    VisionWebSocketEventHandler,
    WebSocketEventType
)

from .coze_config_manager import (
    CozeConfigManager,
    CozeAPICredentials,
    CozeAgentConfig,
    CozeModelConfig,
    CozeConnectionConfig,
    CozeFlowConfig
)

from .coze_integration import (
    CozeIntegration,
    VisionQueryRequest,
    VisionQueryResponse,
    CozeIntegrationError,
    create_coze_integration,
    convert_image_array_to_bytes
)

# Local Vision Model modules
from .local_vision_model import (
    LocalVisionModel,
    ModelBackend,
    ONNXBackend,
    TorchBackend,
    TensorRTBackend,
    create_local_vision_model
)

from .vision_model_optimizer import (
    VisionModelOptimizer,
    GPUAccelerator,
    ModelQuantizer,
    BatchProcessor,
    PerformanceMonitor,
    InferenceRequest,
    InferenceResult,
    create_vision_optimizer
)

from .local_vision_integration import (
    OptimizedLocalVisionModel,
    LocalVisionService,
    create_local_vision_service
)

__all__ = [
    # OpenAPI Client
    'CozeOpenAPIClient',
    'CozeAPIConfig', 
    'ChatResponse',
    'CozeAPIError',
    'CozeAuthenticationError',
    'CozeRateLimitError',
    'CozeNetworkError',
    
    # WebSocket Client
    'CozeWebSocketClient',
    'WebSocketConfig',
    'VisionWebSocketEventHandler',
    'WebSocketEventType',
    
    # Configuration Manager
    'CozeConfigManager',
    'CozeAPICredentials',
    'CozeAgentConfig',
    'CozeModelConfig',
    'CozeConnectionConfig',
    'CozeFlowConfig',
    
    # Integration
    'CozeIntegration',
    'VisionQueryRequest',
    'VisionQueryResponse',
    'CozeIntegrationError',
    'create_coze_integration',
    'convert_image_array_to_bytes',
    
    # Local Vision Model
    'LocalVisionModel',
    'ModelBackend',
    'ONNXBackend',
    'TorchBackend', 
    'TensorRTBackend',
    'create_local_vision_model',
    
    # Vision Model Optimizer
    'VisionModelOptimizer',
    'GPUAccelerator',
    'ModelQuantizer',
    'BatchProcessor',
    'PerformanceMonitor',
    'InferenceRequest',
    'InferenceResult',
    'create_vision_optimizer',
    
    # Local Vision Integration
    'OptimizedLocalVisionModel',
    'LocalVisionService',
    'create_local_vision_service'
]